# EGGTIMER MODEL
# -----------------------------------------------------------------------------
# Represents a single egg timer model.

if exports?
    BaseModel = require "./baseModel.coffee"
else
    BaseModel = window.App.BaseModel

# EggTimer class implementation starts here.
class EggTimer extends BaseModel

    # The final URL will be /db/eggtimer.
    url: "eggtimer"

    attributes:
        size: null      # size medium, large or xlarge?
        yolk: null      # yolk squidgy or firm?


# MODULE EXPORTS
# -----------------------------------------------------------------------------
if exports?
    module.exports = EggTimer
else
    window.App.EggTimer = EggTimer